package com.quanyan.runningriding.entity.vo.run.req;

import com.quanyan.common.validation.base.Insert;
import com.quanyan.common.validation.base.Update;

import javax.validation.constraints.NotNull;

/**
 * RunVideoFirstType
 *
 * @author Tu Chun
 * @date 2016/9/24
 */
public class RunVideoFirstType {
    @NotNull(groups = {Insert.class, Update.class})
    private Byte type;

    private String name;

    private String videoDescribe;
    /**
     * 适合的人群
     */
    private String suitableCrowd;
    /**
     * 一级类型图片
     */
    @NotNull(groups = {Insert.class, Update.class})
    private String firstTypeImg;
    /**
     * 1添加 2修改
     */
    @NotNull(groups = {Insert.class, Update.class})
    private Byte operationType;

    public Byte getOperationType() {
        return operationType;
    }

    public String getFirstTypeImg() {
        return firstTypeImg;
    }

    public void setFirstTypeImg(String firstTypeImg) {
        this.firstTypeImg = firstTypeImg;
    }

    public void setOperationType(Byte operationType) {
        this.operationType = operationType;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVideoDescribe() {
        return videoDescribe;
    }

    public void setVideoDescribe(String videoDescribe) {
        this.videoDescribe = videoDescribe;
    }

    public String getSuitableCrowd() {
        return suitableCrowd;
    }

    public void setSuitableCrowd(String suitableCrowd) {
        this.suitableCrowd = suitableCrowd;
    }
}
